package main

import (
	"fmt"
	"time"

	"math/rand"
)

func main() {
	rand.NewSource(time.Now().UnixNano())
	oddS := 0
	evenP := int64(1)

	for i := range 20 {
		num := rand.Intn(20) + 1
		if i%2 == 0 {
			evenP *= int64(num)
		} else {
			oddS += num
		}
	}

	fmt.Printf("Sum: %d, Product: %d", oddS, evenP)
}
